﻿<Window x:Class="frmAdminProducts"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Manage Products" Height="693" Width="950" Background="Gray" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >
    <Grid>
        <GroupBox Header="Manage Products" Margin="5,3,-3,35" Name="GroupBox1">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="566*" />
                    <ColumnDefinition Width="348*" />
                </Grid.ColumnDefinitions>
                <telerik:RadGridView Margin="6,6,20,86.8" Name="grdProducts" />
                <!--<ListView Margin="6,6,323,86.8" Name="lvwProducts" >
                    <ListView.View >
                        <GridView >
                            <GridView.Columns >
                                <GridViewColumn Header="Product" Width="40"></GridViewColumn>
                                <GridViewColumn Header="Type" Width="40"></GridViewColumn>
                                <GridViewColumn Header="Exp" Width="80"></GridViewColumn>
                                <GridViewColumn Header="Net" Width="40"></GridViewColumn>
                                <GridViewColumn Header="Gross" Width="40"></GridViewColumn>
                                <GridViewColumn Header="TP" Width="80"></GridViewColumn>
                                <GridViewColumn Header="Income" Width="40"></GridViewColumn>
                                </GridView.Columns>
                        </GridView>
                    </ListView.View>
                </ListView>-->
                <GroupBox Header="View" Height="74" Margin="8,0,164,7" Name="GroupBox2" VerticalAlignment="Bottom">
                    <Grid>
                        <RadioButton Margin="44,21,0,14" Name="radType" HorizontalAlignment="Left" Width="60">of Type</RadioButton>
                        <RadioButton HorizontalAlignment="Left" IsChecked="True" Margin="6,21,0,14" Name="radViewAll" Width="35">All</RadioButton>
                        <ComboBox Margin="110,18,105,14" Name="drpProdType" IsEnabled="False" />
                        <CheckBox HorizontalAlignment="Right" Margin="0,22,6,17" Name="chkExcludeNIU" Width="88" IsChecked="True">Exclude NIU</CheckBox>
                        <Button Height="23" HorizontalAlignment="Left" Margin="-8,0,0,-48" Name="btnAddProduct" VerticalAlignment="Bottom" Width="102">Add New Product</Button>
                    </Grid>
                </GroupBox>
                <TabControl Margin="0,0,0,0" Name="tbControl" Width="334" Height="585.723" Grid.Column="1">
                    <TabItem Header="Config" Name="tabPageConfig">
                        <Grid>
                            <Label Height="21" HorizontalAlignment="Left" Margin="-1,5,0,0" Name="Label2" VerticalAlignment="Top" Width="44">Name</Label>
                            <Label Height="21" HorizontalAlignment="Left" Margin="-2,33,0,0" Name="Label3" VerticalAlignment="Top" Width="74">Product Type</Label>
                            <Label Height="21" HorizontalAlignment="Left" Margin="-2,60,0,0" Name="Label4" VerticalAlignment="Top" Width="53">Weblink</Label>
                            <Label Height="21" HorizontalAlignment="Left" Margin="-1,89,0,0" Name="Label5" VerticalAlignment="Top" Width="66">Destination</Label>
                            <TextBox Background="White" BorderBrush="Black" BorderThickness="1" Height="20"  Margin="86,6,5,0" Name="txtProductName" VerticalAlignment="Top" />
                            <ComboBox  Background="White" BorderBrush="Black" BorderThickness="1" Height="20" IsReadOnly="True" Margin="86,34,5,0" Name="drpProdType2" VerticalAlignment="Top" />
                            <TextBox Background="White" BorderBrush="Black" BorderThickness="1" Height="20" Margin="86,61,5,0" IsReadOnly="True" Name="txtWeblink" VerticalAlignment="Top" />
                            <ComboBox  Background="White" BorderBrush="Black" BorderThickness="1" Height="20" IsReadOnly="True" Margin="87,90,4,0" Name="drpDestination" VerticalAlignment="Top" />
                            <Label Height="23" HorizontalAlignment="Left" Margin="-2,189,0,0" Name="Label1" VerticalAlignment="Top" Width="85">Stage Diagram</Label>
                            <Label Height="21" HorizontalAlignment="Left" Margin="-2,217,0,0" Name="Label6" VerticalAlignment="Top" Width="85">Charge Group</Label>
                            <Label HorizontalAlignment="Left" Margin="-2,244,0,0" Name="Label7" Width="76" Height="22.6" VerticalAlignment="Top">Event Group</Label>
                            <Label HorizontalAlignment="Left" Margin="-3,273,0,258" Name="Label8" Width="94">Stock Letter Set</Label>
                            <Label Height="22" HorizontalAlignment="Left" Margin="-3,0,0,232" Name="Label9" VerticalAlignment="Bottom" Width="84">Date Category</Label>
                            <Label Height="21" HorizontalAlignment="Left" Margin="-2,0,0,205" Name="Label10" VerticalAlignment="Bottom" Width="77">Calculator Set</Label>
                            <Label Height="21" HorizontalAlignment="Left" Margin="-2,0,0,175" Name="Label11" VerticalAlignment="Bottom" Width="66">MFB Group</Label>
                            <Label Height="22" HorizontalAlignment="Left" Margin="-2,0,0,145" Name="Label12" VerticalAlignment="Bottom" Width="66">Web Loop</Label>
                            <ComboBox  Background="White" BorderBrush="Black" IsReadOnly="True" BorderThickness="1" Height="20" Margin="87,190,5,0" Name="drpStageDiagram" VerticalAlignment="Top" />
                            <ComboBox  Background="White" BorderBrush="Black" IsReadOnly="True" BorderThickness="1" Height="20" Margin="87,218,6,0" Name="drpChargeGroup" VerticalAlignment="Top" />
                            <ComboBox  Background="White"  IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Margin="87,245,6,0" Name="drpEventGroup" Height="19.6" VerticalAlignment="Top" />
                            <ComboBox  Background="White"  IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Margin="87,274,5,261" Name="drpSLS" />
                            <ComboBox Background="White"  IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Height="20" Margin="87,0,5,232" Name="drpDateCat" VerticalAlignment="Bottom" />
                            <ComboBox Background="White"  IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Margin="86,0,5,204" Name="drpCalcSet" Height="19.6" VerticalAlignment="Bottom" />
                            <ComboBox Background="White" IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Height="20" Margin="87,0,5,174" Name="drpMFBGroup" VerticalAlignment="Bottom" />
                            <ComboBox Background="White" IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Height="19.8" Margin="87,0,5,145" Name="drpWebLoop" VerticalAlignment="Bottom" />
                            <Label Height="21" HorizontalAlignment="Left" Margin="-2,0,0,119" Name="Label13" VerticalAlignment="Bottom" Width="66">Fast Track</Label>
                            <Label Height="22" HorizontalAlignment="Left" Margin="-2,0,0,89" Name="Label14" VerticalAlignment="Bottom" Width="83">Target Group</Label>
                            <ComboBox Background="White" IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Height="20" Margin="87,0,5,118" Name="drpFastTrack" VerticalAlignment="Bottom" />
                            <ComboBox Background="White"  IsReadOnly="True" BorderBrush="Black" BorderThickness="1" Height="19.8" Margin="87,0,5,89" Name="drpTarget" VerticalAlignment="Bottom" />
                            <Label Height="21" HorizontalAlignment="Left" Margin="-1,121,0,0" Name="Label15" VerticalAlignment="Top" Width="61">Indefinite</Label>
                            <Label HorizontalAlignment="Left" Margin="-3,153,0,0" Name="Label16" Width="143" Height="30" VerticalAlignment="Top">Update UK Visa on success</Label>
                            <RadioButton Height="18" IsEnabled="False" HorizontalAlignment="Left" Margin="87,126,0,0" Name="radILRNo" VerticalAlignment="Top" Width="43">No</RadioButton>
                            <RadioButton Height="18" Margin="0,126,114,0" Name="radILRYes" IsEnabled="False" VerticalAlignment="Top" HorizontalAlignment="Right" Width="70">Yes</RadioButton>
                            <RadioButton Height="18" Margin="146,156,122,0" Name="radUpdateUKNo" IsEnabled="False" VerticalAlignment="Top">No</RadioButton>
                            <RadioButton Height="18" HorizontalAlignment="Right" Margin="0,156,70,0" IsEnabled="False" Name="radUpdateUKYes" VerticalAlignment="Top" Width="46">Yes</RadioButton>
                            <ComboBox Background="White" BorderBrush="Black" BorderThickness="1" Height="20" Margin="0,153,4,0" Name="drpUKVisa" VerticalAlignment="Top" HorizontalAlignment="Right" Width="68" />
                            <Button Height="22.8" HorizontalAlignment="Left" Margin="6,0,0,33.923" Name="btnEdit" VerticalAlignment="Bottom" Width="78">Edit</Button>
                            <Button Height="22.8" Margin="90,0,156,33.923" Name="btnsave" VerticalAlignment="Bottom">Save</Button>
                            <Button Height="22.723" HorizontalAlignment="Right" Margin="0,0,51,34" Name="btnCancel" VerticalAlignment="Bottom" Width="99">Cancel</Button>
                        </Grid>
                    </TabItem>
                    <TabItem Header="Charges" Name="tabPageCharges">
                        <Grid >
                            <GroupBox Header="Default Charges" Margin="6,6,0,6" Name="grpCharges">
                                <Grid>
                                    <ListView Margin="6,6,6,0" Name="lvwDefCharges" Height="243" VerticalAlignment="Top">
                                        <ListView.View >
                                            <GridView >
                                                <GridView.Columns >
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=DefCharge_ID}" Header="Id" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=DefCharge_Type}" Header="Name" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=Net}" Header="Net" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=VAT}" Header="Tax" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=TP}" Header="TP Cost" Width="Auto"></GridViewColumn>
                                                    <!--GridViewColumn DisplayMemberBinding="{Binding Path=MenuOption_Name}" Header="Category" Width="80"></GridViewColumn>-->
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=Income}" Header="Income" Width="Auto"></GridViewColumn>
                                                </GridView.Columns>
                                            </GridView>
                                        </ListView.View>
                                    </ListView>
                                    <Button Height="23" HorizontalAlignment="Left" Margin="3,0,0,201" Name="btnAddCharge" VerticalAlignment="Bottom" Width="75">Add Charge</Button>
                                    <Button Height="23" Margin="84,0,147,201" Name="btnDeleteCharge" VerticalAlignment="Bottom">Delete Charge</Button>
                                    <Label Height="85" Margin="17,0,74,88" Name="lblInfo" VerticalAlignment="Bottom"></Label>
                                    <TextBlock TextWrapping="Wrap" Text="Changes to the default charges will affect only cases created after you make the changes. Existing cases would remain unaffected" Height="53.107" Margin="0,0,6.467,16" VerticalAlignment="Bottom" FontWeight="Bold"></TextBlock>
                                </Grid>
                            </GroupBox>
                        </Grid>
                    </TabItem>
                    <TabItem Header="Documents" Name="tabPageDocs">
                        <Grid >
                            <GroupBox Header="Documents" Margin="8,2,-2,10" Name="GroupBox4">
                                <Grid Height="400" Width="302">
                                    <ListView Margin="6" Name="lvwDocs" >
                                        <ListView.View >
                                            <GridView >
                                                <GridView.Columns >
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=DefDocReq_ID}" Header="ID" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=DefDocReq_Name}" Header="Name" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=DocReqType_Name}" Header="Type Name" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=Ctype}" Header="Type" Width="Auto"></GridViewColumn>
                                                    <GridViewColumn DisplayMemberBinding="{Binding Path=FTO}" Header="FTO" Width="Auto"></GridViewColumn>
                                                    </GridView.Columns>
                                            </GridView>
                                        </ListView.View>
                                    </ListView>
                                    <Button HorizontalAlignment="Left" Margin="7,-49.139,0,0" Name="Button1" Width="70" Height="23" VerticalAlignment="Top">Add Req</Button>
                                    <Button Margin="83,-49.139,149,0" Name="Button2" Height="23" VerticalAlignment="Top">Delete Req</Button>
                                </Grid>
                            </GroupBox>
                        </Grid>
                    </TabItem>
                </TabControl>
            </Grid>
        </GroupBox>
        <Button Height="23" HorizontalAlignment="Left" Margin="129,0,0,6" Name="btnNotInUse" VerticalAlignment="Bottom" Width="70">Charges</Button>
        <Button HorizontalAlignment="Left" Margin="212,0,0,6" Name="btnDelete" Width="78" Height="22.8" VerticalAlignment="Bottom">Documents</Button>
        <Button Height="22.8" HorizontalAlignment="Right" Margin="0,0,9,6" Name="btnClose" VerticalAlignment="Bottom" Width="78">Close</Button>
    </Grid>
</Window>
